/*
 * commin.c
 *
 *  Created on: Jun 19, 2011
 *      Author: sainw
 */

#include <stdio.h>
#include <errno.h>
#include "server.h"

/* Global Program Name */
const char* program_name;

/* */

void error(const char* cause, const char* message) {
	/* Print an error message to stderr. */
	fprintf (stderr, "%s: error: (%s) %s\n", program_name, cause, message);
	/* End the program. */
	exit(1);
}
